.container {
  padding: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.titleSection h1 {
  margin: 0 0 8px 0;
  font-size: 2rem;
  font-weight: 600;
  color: var(--foreground);
}

.titleSection p {
  margin: 0;
  color: var(--foreground-tertiary);
  font-size: 1.125rem;
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.categoryCard {
  padding: 24px;
}

.categoryHeader {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--muted);
}

.categoryIcon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--info);
}

.categoryHeader h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--foreground);
}

.settingsList {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.settingItem {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 16px 0;
}

.settingInfo {
  flex: 1;
}

.settingTitle {
  font-weight: 500;
  color: var(--foreground);
  margin-bottom: 4px;
}

.settingDescription {
  font-size: 0.875rem;
  color: var(--foreground-tertiary);
  line-height: 1.4;
}

.settingControl {
  min-width: 160px;
  display: flex;
  justify-content: flex-end;
}

/* Toggle 开关 */
.toggle {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggleSlider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--muted);
  transition: 0.3s;
  border-radius: 24px;
}

.toggleSlider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 2px;
  bottom: 2px;
  background-color: var(--card);
  transition: 0.3s;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.toggle input:checked + .toggleSlider {
  background-color: var(--info);
}

.toggle input:checked + .toggleSlider:before {
  transform: translateX(24px);
}

/* Select 下拉框 */
.select {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  font-size: 0.875rem;
  color: var(--foreground);
  min-width: 120px;
  cursor: pointer;
}

.select:focus {
  outline: none;
  border-color: var(--info);
  box-shadow: 0 0 0 3px var(--ring);
}

/* Input 输入框 */
.input {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.875rem;
  color: var(--foreground);
  min-width: 160px;
}

.input:focus {
  outline: none;
  border-color: var(--info);
  box-shadow: 0 0 0 3px var(--ring);
}

/* Range 滑块 */
.rangeControl {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 200px;
}

.range {
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: var(--muted);
  outline: none;
  -webkit-appearance: none;
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--info);
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--info);
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.rangeValue {
  font-size: 0.875rem;
  color: var(--foreground-tertiary);
  font-weight: 500;
  min-width: 60px;
  text-align: right;
}

